package com.it.travel.service.admin;

import com.it.travel.vo.Params.PageParams;
import com.it.travel.vo.Params.admin.AdminProductDeatilUpdateParams;
import com.it.travel.vo.Params.admin.AdminProductDetailParams;
import com.it.travel.vo.Params.admin.AdminProductParams;
import com.it.travel.vo.Params.admin.AdminProductSkuUpdateParams;
import com.it.travel.vo.Result;

import java.util.List;

public interface AdminProductService {
    Result<?> getInfoPage(PageParams pageParams);

    Result<?> save(AdminProductParams adminProductParams) ;

    Result<?> delete(Integer id);

    Result<?> update(AdminProductSkuUpdateParams adminProductSkuUpdateParams);

    Result<?> deletebatch(List<Integer> ids);

    Result<?> saveProductDetail(AdminProductDetailParams adminProductDetailParams);

    Result<?> findProductDetail(Integer id);

    Result<?> updateProductDetail(AdminProductDeatilUpdateParams adminProductDeatilUpdateParams);

    Result<?> getCategoryIds(Integer id);


//    Result<?> getCategoryInfo();

}
